cmake_minimum_required(VERSION 3.8)
project(unset_env_var)

set(ENV{myenv} "This is my env var")
unset(ENV{myenv})

message(STATUS "myenv = $ENV{myenv}")
